package org.neframework.webtest.model;

import java.sql.Timestamp;

import com.tmsps.neframework.core.utils.GenerateTools;
import com.tmsps.neframework.jpa.annotation.Id;
import com.tmsps.neframework.jpa.annotation.NotMap;
import com.tmsps.neframework.jpa.annotation.Table;
import com.tmsps.neframework.jpa.model.DbModel;

/**
 * 系统UI定制
 * 
 * @author 冯晓东 398479251
 *
 */
@Table
public class t_fk_ui implements DbModel {
	@NotMap
	private static final long serialVersionUID = 1L;
	@Id
	private String kid;
	private int status = 0;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	private String logo_file_id;// logo 对应的 文件名字,如果没有,用默认的
	private String name;// 系统名称
	private String backgroud_file_id;// 系统背景图
	private String menu_position;// 左侧菜单位置: west or east

	// =========== get / set () ====================

	public String getKid() {
		return kid;
	}

	public void setKid(String kid) {
		this.kid = kid;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public String getLogo_file_id() {
		return logo_file_id;
	}

	public void setLogo_file_id(String logo_file_id) {
		this.logo_file_id = logo_file_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBackgroud_file_id() {
		return backgroud_file_id;
	}

	public void setBackgroud_file_id(String backgroud_file_id) {
		this.backgroud_file_id = backgroud_file_id;
	}

	public String getMenu_position() {
		return menu_position;
	}

	public void setMenu_position(String menu_position) {
		this.menu_position = menu_position;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public static void main(String[] args) {
		for (int i = 0; i < 100; i++) {
			System.err.println(GenerateTools.getBase58ID());
		}
	}
}
